home *** CD-ROM | disk | FTP | other *** search
- Path: scratchy.mi.net!usenet
- From: hansonk@mi.net (hansonk)
- Newsgroups: comp.lang.c++
- Subject: Need help with Object Oriented Semantics
- Date: Fri, 16 Feb 1996 02:49:00 GMT
- Organization: Maritime Internet Services
- Message-ID: <4g0d70$ap8@scratchy.mi.net>
- NNTP-Posting-Host: kyle.mi.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- I need help determining the correct object oriented approach to the
- following problem:
- Say I have an object that might read a file. The problem I am having
- is that say the file has 50 different columns of data. I know from my
- obvious little experience in C++ programming that member functions
- should be written to access all hidden private data. What would be
- the semantically correct way to code this type of object.
- I know that writing 50 functions to retrieve each data item is a
- waster of time. Should I just use a struct and return that instead.
-
-
-